<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>删除管理员信息</title>
</head>
<body>
<% String UserId = request.getParameter("UserId"); %>
<% String UserName = request.getParameter("UserName"); %>
<h3>删除管理员信息</h3>
    <form action="${pageContext.request.contextPath}/student/normal/deleteAdmin">
        <input class="form-control" type="text" id="UserId" name="UserId" value="<%=UserId%>" readonly><br>
        <input class="form-control" type="text" id="UserName" name="UserName" value="<%=UserName%>"><br>
        <button type="submit" class="btn-primary">确认删除</button><br><br>
        <input class="btn btn-default" onclick="backAndFresh()" type="button" value="返回" />
    </form>
<script>
    function backAndFresh(){
        var url =document.referrer;
        window.location=url;
    }
</script>
</body>
</html>
